Add "run CI checks" trigger phrases to generate-sdk-locally skill#15495
Open
Add "run CI checks" trigger phrases to generate-sdk-locally skill#15495
Conversation
Agent-Logs-Url: https://github.com/Azure/azure-sdk-tools/sessions/b11b8bd0-4d67-4ae5-8b95-7935042a7bf8 Co-authored-by: l0lawrence <100643745+l0lawrence@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix CI checks for Azure.Health.Deidentification
Add "run CI checks" trigger phrases to generate-sdk-locally skill
May 5, 2026
praveenkuttappan
approved these changes
May 5, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the generate-sdk-locally shared skill so that CI-oriented user prompts (e.g., “run CI checks”, “passes all checks”) correctly trigger the skill and route the agent toward using the Azure SDK MCP tools instead of running raw local commands.
Changes:
- Added CI-check vocabulary to the skill
WHEN:triggers (and surfaced some of them in the skills READMEs). - Added “CI checks only” guidance plus new example prompts reflecting the reported issue.
- Clarified the exclusion text to “CI pipeline YAML configuration” to reduce misclassification.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.
| File | Description |
|---|---|
| plugins/azure-sdk-tools/skills/README.md | Updates the trigger table to include CI-related phrases for the generate-sdk-locally skill. |
| plugins/azure-sdk-tools/skills/generate-sdk-locally/SKILL.md | Expands WHEN: triggers, adds CI-only guidance, and adds CI-check examples. |
| .github/skills/README.md | Mirrors the trigger table update for the distributed .github/skills copy. |
| .github/skills/azsdk-common-generate-sdk-locally/SKILL.md | Mirrors the skill trigger + CI-only guidance + examples for distribution. |
|
|
||
| ## Steps | ||
|
|
||
| > **CI checks only** (build + validate + test without regeneration): If the user asks to "run CI checks", "validate" or "check if a package passes all checks", skip to step 6. CI checks = build (`azsdk_package_build_code`) + validate (`azsdk_package_run_check`) + test (`azsdk_package_run_tests`). |
|
|
||
| ## Steps | ||
|
|
||
| > **CI checks only** (build + validate + test without regeneration): If the user asks to "run CI checks", "validate" or "check if a package passes all checks", skip to step 6. CI checks = build (`azsdk_package_build_code`) + validate (`azsdk_package_run_check`) + test (`azsdk_package_run_tests`). |
|
|
||
| ## Steps | ||
|
|
||
| > **CI checks only** (build + validate + test without regeneration): If the user asks to "run CI checks", "validate" or "check if a package passes all checks", skip to step 6. CI checks = build (`azsdk_package_build_code`) + validate (`azsdk_package_run_check`) + test (`azsdk_package_run_tests`). |
| | Skill | Triggers | Description | | ||
| | ----- | -------- | ----------- | | ||
| | [generate-sdk-locally](generate-sdk-locally/SKILL.md) | "generate SDK locally", "build SDK", "run SDK tests" | Generate, build, and test Azure SDKs locally from TypeSpec | | ||
| | [generate-sdk-locally](generate-sdk-locally/SKILL.md) | "generate SDK locally", "build SDK", "run SDK tests", "run CI checks", "passes all checks" | Generate, build, and test Azure SDKs locally from TypeSpec | |
| | Skill | Triggers | Description | | ||
| | ----- | -------- | ----------- | | ||
| | [azsdk-common-generate-sdk-locally](azsdk-common-generate-sdk-locally/SKILL.md) | "generate SDK locally", "build SDK", "run SDK tests" | Generate, build, and test Azure SDKs locally from TypeSpec | | ||
| | [azsdk-common-generate-sdk-locally](azsdk-common-generate-sdk-locally/SKILL.md) | "generate SDK locally", "build SDK", "run SDK tests", "run CI checks", "passes all checks" | Generate, build, and test Azure SDKs locally from TypeSpec | |
|
|
||
| ## Steps | ||
|
|
||
| > **CI checks only** (build + validate + test without regeneration): If the user asks to "run CI checks", "validate" or "check if a package passes all checks", skip to step 6. CI checks = build (`azsdk_package_build_code`) + validate (`azsdk_package_run_check`) + test (`azsdk_package_run_tests`). |
📊 GEPA Skill Quality Scores
0/9 skills at quality ≥ 0.80 How to improve# Score a specific skill
python .github/skills/sensei/scripts/gepa/auto_evaluator.py score --skill <name> --skills-dir .github/skills --tests-dir tests
# Optimize a skill with GEPA
python .github/skills/sensei/scripts/gepa/auto_evaluator.py optimize --skill <name> --skills-dir .github/skills --tests-dir tests |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When users asked to "run CI checks" or "validate a package passes all checks", the LLM bypassed MCP tools entirely and ran raw
dotnetcommands directly. The skill'sWHEN:triggers had no CI-check vocabulary, so it was never activated.Changes
Skill description (
WHEN:clause) — Added CI-oriented triggers:"run CI checks","validate CI checks","passes all checks","run all checks","validate package"to both the distributed skill (.github/skills/azsdk-common-generate-sdk-locally/SKILL.md) and its canonical source (plugins/azure-sdk-tools/skills/generate-sdk-locally/SKILL.md)Steps section — Added a callout at the top clarifying that "CI checks" = build (
azsdk_package_build_code) + validate (azsdk_package_run_check) + test (azsdk_package_run_tests), and that CI-only requests should skip steps 1–5 (generation)Examples — Added the verbatim prompts from the bug report as canonical examples:
Disambiguation — Changed
DO NOT USE FOR: CI pipeline configuration→CI pipeline YAML configurationto prevent the LLM from misclassifying "run CI checks" as excludedREADME trigger tables — Updated both
README.mdfiles to surface the new CI-related triggers